﻿#include "ssThreadLockGuard.h"

#ifndef SS_USE_BOOST_THREAD
namespace StarSeeker
{

ssThreadLockGuard::ssThreadLockGuard(ssThreadLock& lock)
	:m_lock(lock)
{
	m_lock.Lock();
}

ssThreadLockGuard::~ssThreadLockGuard()
{
	m_lock.Unlock();
}

}
#endif